package demo2;

import static org.testng.Assert.assertEquals;

import org.testng.ITestContext;
import org.testng.annotations.Listeners;
import org.testng.annotations.Test;

@Listeners({TestListenerDemo1.class})
public class Demo1 {
	@Test
	public void test1() {
		assertEquals(1, 1);
	}
	@Test
	public void test2() {
		assertEquals(1, 7);
	}
	@Test
	public void test3() {
		assertEquals(5, 6);
	}
	@Test
	public void test4() {
		assertEquals(11, 44);

	}
	public void onFinish(ITestContext testContext) {
		// TODO Auto-generated method stub

	}
}
